package com.use;

/*
 * @Data: 2021/9/6 20:28
 * */
public class Cat implements Anmail {

    private String mesg;


    public Cat(String mesg) {
        this.mesg = mesg;
    }



    public String getMesg() {
        return mesg;
    }

    public void setMesg(String mesg) {
        this.mesg = mesg;
    }

    public Cat() {
    }

    public void run(){
        System.out.println("跑");
    }


    @Override
    public void eat() {
        System.out.println();
    }

    @Override
    public void sleep() {

    }
}
